package com.common.dto;

import javax.persistence.Column;
import javax.persistence.Table;
import com.common.dto.base.BaseDTO;

import java.util.Date;

/**
 * 日志查询
 * 
 * @author zp
 *
 */
@Table(name = "log_info")
public class LogInfoDTO extends BaseDTO {
    
	/**设备编号*/
	@Column(name="equipment_code")
	private String equipmentCode;
	
	/**日期*/
	@Column(name="log_date")
	private Date logDate;
	
	/**日志类型*/
	@Column(name="log_type")
	private String logType;
	
	/**下载日志*/
	@Column(name="log_path")
	private String logPath;
	

	public String getEquipmentCode() {
		return equipmentCode;
	}
	
	public void setEquipmentCode(String equipmentCode) {
		this.equipmentCode = equipmentCode;
	}
	
	public Date getLogDate() {
		return logDate;
	}
	
	public void setLogDate(Date logDate) {
		this.logDate = logDate;
	}
	
	public String getLogType() {
		return logType;
	}
	
	public void setLogType(String logType) {
		this.logType = logType;
	}
	
	public String getLogPath() {
		return logPath;
	}
	
	public void setLogPath(String logPath) {
		this.logPath = logPath;
	}
	


	@Override
	public String toString() {
		return "LogInfoDTO [" +
		    "equipmentCode=" +  equipmentCode + ", " +
		    "logDate=" +  logDate + ", " +
		    "logType=" +  logType + ", " +
		    "logPath=" +  logPath + ", " +
		 "]";
	}
}
